Infographs Generator


Posted by ar851060 on 2023-09-19

The link of Github is here

Generate infographs for instagram with ChatGPT for text and multi-source for pictures

You just need to type in your topic, upload your powerpoint template, and choose the source of pictures, then you can generate your infographs for instagram.

Why I want to do it

Originally, since I want to improve my career, and lots of advices are told that we can create self-media and promote myself. However, I do not like to write or type words, and I do not like record audio or video either. Thus, I create this side project to help me to create the series of infographs as powerpoint, and I just need to do some small change and put them into Instagram. That's it.

Results

Process

Text

  1. Generate the outline with ChatGPT
  2. Change the format of outline into json with ChatGPT
  3. Put the text into powerpoint

Pictures

  1. Generate the outline with ChatGPT
  2. Change the format of outline into json with ChatGPT
  3. Accoring the content for each page, find out or generate the pictures related to this page.
    • Flaticon: I generate some keywords from content, put them into the search bar of Flaticon, and get the picture from flaticon with web crawler.
    • Dall-E: I generate some keywords from content, call OpenAI api to Dall-E and generate the pictures.
    • Irasutoya: There are three ways to find pictures from this website, and get them from web crawler:
      • random: just random choose the tags from that website, and find pictures.
      • chat: Let ChatGPT pick out some related tags according to content, and find pictures.
      • zero-shot classification: Let embedding model from OpenAI change all text, including tags and content, into embedding vectors, calculate cosine simularity, and find out some related tags.
  4. Put the pictures into powerpoint

#project









Related Posts

AWS EC2 部署網站:卡關記錄 & 心得

AWS EC2 部署網站:卡關記錄 & 心得

sigfox開啟全球一個網的物聯網世界

sigfox開啟全球一個網的物聯網世界

23. Template Method

23. Template Method


Comments